package com.stms.service;

import com.stms.pojo.Contract;
import com.stms.pojo.Staff;
import org.springframework.data.domain.Page;

public interface StaffService {
    public boolean addStaff(Staff staff);

    public boolean editStaff(Staff staff);

    public void deleteBatch(String staffIds);

    public Page<Staff> fuzzyQuery(Integer pageNum, Integer pageSize, String direction, Staff staff);

    public Page<Staff> findByPage(Integer pageNum,Integer pageSize);
}
